projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4ab3d
)
mx6sabresd: Fix LVDS width and color format
author
Fabio Estevam
<
[email protected]
>
Wed, 4 Dec 2013 03:08:17 +0000
(
01:08
-0200)
committer
Stefano Babic
<
[email protected]
>
Tue, 17 Dec 2013 17:38:42 +0000
(18:38 +0100)
mx6sabresd boards have a 18-bit LVDS data width and the correct color format
is RGB666.
Suggested-by: Liu Ying <
[email protected]
>
Signed-off-by: Fabio Estevam <
[email protected]
>
board/freescale/mx6sabresd/mx6sabresd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6sabresd/mx6sabresd.c
b/board/freescale/mx6sabresd/mx6sabresd.c
index ecd2eabc9c8592bdb2c1e8874b7a34a185678396..2ffc3b80894701e441277139ed3bc917e0ad4ca2 100644
(file)
--- a/
board/freescale/mx6sabresd/mx6sabresd.c
+++ b/
board/freescale/mx6sabresd/mx6sabresd.c
@@
-294,15
+294,15
@@
static void enable_lvds(struct display_info_t const *dev)
struct iomuxc *iomux = (struct iomuxc *)
IOMUXC_BASE_ADDR;
u32 reg = readl(&iomux->gpr[2]);
- reg |= IOMUXC_GPR2_DATA_WIDTH_CH0_
24
BIT |
- IOMUXC_GPR2_DATA_WIDTH_CH1_
24
BIT;
+ reg |= IOMUXC_GPR2_DATA_WIDTH_CH0_
18
BIT |
+ IOMUXC_GPR2_DATA_WIDTH_CH1_
18
BIT;
writel(reg, &iomux->gpr[2]);
}
static struct display_info_t const displays[] = {{
.bus = -1,
.addr = 0,
- .pixfmt = IPU_PIX_FMT_
LVDS
666,
+ .pixfmt = IPU_PIX_FMT_
RGB
666,
.detect = NULL,
.enable = enable_lvds,
.mode = {